package com.zzw.dao;

import com.zzw.bean.MenuRolesExample;
import com.zzw.bean.MenuRolesKey;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MenuRolesMapper {
    long countByExample(MenuRolesExample example);

    int deleteByExample(MenuRolesExample example);

    int deleteByPrimaryKey(MenuRolesKey key);

    int insert(MenuRolesKey record);

    int insertSelective(MenuRolesKey record);

    List<MenuRolesKey> selectByExample(MenuRolesExample example);

    List<MenuRolesKey> selectMenuRoles(Integer roleId);

    int updateByExampleSelective(@Param("record") MenuRolesKey record, @Param("example") MenuRolesExample example);

    int updateByExample(@Param("record") MenuRolesKey record, @Param("example") MenuRolesExample example);
}
